<include file="Public/header" title="添加新闻" />
<div class="col-md-6" style="width: 200px;height: 200px;margin: 10% 40%">
    <div id="show_img">

    </div>
    <form method="POST" name="addnews" action="{:U('Banner/add')}">
        <button class="btn btn-success fileinput-button" type="button" id="upbanner">上传封面图</button>
        <input type="file" id="banner" name="banner" style="display: none">
        <input type="hidden" value="" name="img_url" id="save_thumb_path" class="save_banner_path">
        <button type="submit" class="btn btn-success fileinput-button">提交</button>
    </form>

</div>
<include file="Public/footer" />
<script charset="utf-8" src="__PUBLIC__/js/upImg.js"></script>
